package com.example.demo.reflect;

import java.util.List;

/**
 * @desc:
 * @author: fuxiang
 * @date: 2018/3/5 20:12
 */
public class Student {
    private String name;
    private Integer age;
    private String sex;
    private List<Banji> banjis;
    public Student() {
    }

    public List<Banji> getBanjis() {
        return banjis;
    }

    public void setBanjis(List<Banji> banjis) {
        this.banjis = banjis;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                '}';
    }
}
